package com.ruoyi.app.domain.vo

import com.ruoyi.back.domain.v2.MemberTask
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import io.swagger.annotations.ApiOperation

@ApiModel("会员模式参数")
data class MemberVo(

    @ApiModelProperty("会员id")
    var memberId: Long? = null,

    @ApiModelProperty("点数")
    var receiveCount: Int? = null,

    @ApiModelProperty("会员名称")
    var name: String? = null,

    @ApiModelProperty("中间价格")
    var middlePrice: String? = null,

    @ApiModelProperty("价格")
    var price: String? = null,

    @ApiModelProperty("原价")
    var oldPrice: String? = null,

    @ApiModelProperty("会员类型 1.体验 2.正式")
    var type: Int? = null,

    @ApiModelProperty("排序")
    var order: Int? = null,

    @ApiModelProperty("是否已经获取")
    var obtain: Boolean? = false,

)

@ApiModel("会员列表")
data class MemberList(

    @ApiModelProperty("单次支付")
    var singlePay: List<MemberVo>? = null,

    @ApiModelProperty("会员支付")
    var memberPay: List<MemberVo>? = null
)

@ApiOperation("体验会员详情")
data class ExperienceDetail(

    @ApiModelProperty("剩余可以领取次数 等于0 就代表不能在做任务了")
    var remainingCount: Int? = 0,

    @ApiModelProperty("会员id")
    var memberId: Long? = null,

    @ApiModelProperty("体验会员任务类型")
    var memberTaskList: List<MemberTask>? = null,

    @ApiModelProperty("是否可以领取")
    var canReceive: Boolean? = false,
)
